<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<%@ page errorPage="../error/404.jsp"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>购买点数</title>

</head>
<body>
<script>
function ChangeShowBuyFen(amount){
	var fen;
	fen=Math.floor(amount)*1;
	document.getElementById("showbuyfen").innerHTML=fen+" 点";
}
</script>

	<div class="tableborder zhifu">
<form name="paytofenform" method="get" action="/alipay/pay.html">
  <div class="gmds">
  <ul>
    <li>购买积分： 
      <input type="hidden" name="phome" value="PayToFen"></li>      
<li>订单名称：<input name="WIDsubject" type="text"   >
</li>
<li>订单说明：<input name="WIDbody" type="text"   >
</li>
    <li>购买金额：<input name="WIDtotal_amount" type="text" value="" size="8" onchange="ChangeShowBuyFen(document.paytofenform.WIDtotal_amount.value);">
        元 <font color="#333333">( 1元 = 
        1        积分)</font></li>
    <li>购买积分：
      <span id="showbuyfen"> 0 积分</span>
    </li>
    <li>支付平台：
    <select name="payid" style="width: 120px">
          <option value='3'>支付宝接口</option> 
          <option value='4'>微信支付接口</option>       
          </select>
          </li>
    <li><input type="submit" name="Submit" value="确定购买"></li>
    </ul>
  </div>
</form>

</div>


		
		
</body>
</html>